Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Make Select All respect the visible range#522

Merged
peterflynn merged 2 commits into
masterfrom
nj/issue-461
Apr 4, 2012
Merged

Make Select All respect the visible range#522
peterflynn merged 2 commits into
masterfrom
nj/issue-461

Conversation

@njx
Copy link
Copy Markdown

@njx njx commented Apr 3, 2012

@peterflynn

This is a workaround that fixes #461. There's probably an underlying CodeMirror bug that causes that issue, but it seems simple enough to work around it by just explicitly selecting the visible range when we do a Select All.

Comment thread src/editor/Editor.js Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing @return docs

@peterflynn
Copy link
Copy Markdown
Member

Looks good to go. Per discussion with NJ, we'll keep the bug (#461) open for now to track filing a CodeMirror bug on the underlying issue that this pull is working around.

peterflynn added a commit that referenced this pull request Apr 4, 2012
Make Select All respect the visible range, to work around CodeMirror bug (fixes #461)
@peterflynn peterflynn merged commit 05888b1 into master Apr 4, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Select All in inline editor behaves differently based on position

2 participants